/**
 * Class: Note
 *
 * Purpose: 
 *
 * Created: Jan 30, 2010 @ 8:58:10 AM
 * @author Ken Scott
 */
package org.openfantasia.musica.events;

import org.openfantasia.util.Logger;

public class Log extends Event {

	private String message;

	public Log(String s) {
		this.message = s;
		this.duration = 0;
	}


	public Log(Log that) {
		copy(that);
	}


	public Log copy() {
		return new Log(this);
	}


	public void copy(Log that) {
		super.copy(that);
		this.message = that.message;
	}


	public void action() {
		Logger.log(message);
	}
}